systemd.user.sockets.<name>.socketConfig

Each attribute in this set specifies an option in the [Socket] section of the unit. See systemd.socket(5) for details.

Type
attribute set of (systemd option)
Default
{ }
Example
{
  ListenStream = "/run/my-socket";
}
Declared
<nixpkgs/nixos/modules/system/boot/systemd/user.nix>